/*
 * @Descripttion:
 * @version:
 * @Author: kl2018
 * @Date: 2020-03-17 09:11:31
 * @LastEditors: kl2018
 * @LastEditTime: 2020-08-10 09:57:29
 */
import { WeaTools } from 'ecCom';

export const doWfInfoGet = params => WeaTools.callApi('/api/offical/createreq/wfinfo', 'GET', params);

export const doAddWfToColl = params => WeaTools.callApi('/api/workflow/createreq/managewfcoll', 'GET', params);

export const getRequestImportData = params => WeaTools.callApi('/workflow/request/RequestImportJson.jsp', 'POST', params);

export const importWf = params => WeaTools.callApi('/api/workflow/reqform/requestImport', 'POST', params);

export const saveUserOperateHabit = params => WeaTools.callApi('/api/workflow/createreq/saveUserOperateHabit', 'POST', params);
